<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>地区管理</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  
    {include file="public/css"}
    {include file="public/js"}
</head>
<body>
<blockquote class="layui-elem-quote">
总数据：{$totalnum}<br>
总页面数量：{$pagecount}<br>
每页：{$pagenum} 条数据
注意：操作时页面加载比较慢。执行是不要关闭窗口<br>

</blockquote>
<div class="layui-form" style="width:900px;margin:0 auto;height:500px;overflow-y:scroll">

  <table class="layui-table" >
    <colgroup>

      <col width="50">
      <col width="110">
      <col width="110">
      <col >

    </colgroup>
    <thead>

      <tr>
        <th>地区ID</th>
        <th>地区名称</th>
        <th>上级ID</th>
      </tr> 
    </thead>
    <tbody>

{volist name='list' id='vo'}
      <tr data-id="{$vo.id}" data-pid="">
        <td>{$vo.id}</td>
        <td>{$vo.name}</td>
        <td>{$vo.pid}</td>
      </tr>
{/volist}

    </tbody>
  </table>


</div>

<script>location.href="{:url('area/update',['page'=>$page])}"</script>



</body>

</html>